class App {

    public static get StageUtils(): StageUtils {
        return StageUtils.getInstance();
    }

    public static get SceneManager(): SceneManager {
        return SceneManager.getInstance();
    }

    public static get ViewManager(): ViewManager {
        return ViewManager.getInstance();
    }
    public static get ControllerManager(): ControllerManager {
        return ControllerManager.getInstance();
    }

    public static get TimerManager(): TimerManager {
        return TimerManager.getInstance();
    }

    public static get DebugUtils(): DebugUtils {
        return DebugUtils.getInstance();
    }

    public static get EasyLoading(): EasyLoading {
        return EasyLoading.getInstance();
    }

    public static get ResourceUtils(): ResourceUtils {
        return ResourceUtils.getInstance();
    }

    public static get DisplayUtils(): DisplayUtils {
        return DisplayUtils.getInstance();
    }

    public static GlobalData: any = null;
    public static Init(): void {
        App.GlobalData = RES.getRes("global");
        App.DebugUtils.setOpen(App.GlobalData.IsDebug);
        console.debug(App.GlobalData)
    }
}